package com.study.tiger.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class BaseTree<T extends BaseTree> {

    private String id;

    private String pid;

    private List<T> children;
}
